package com.hbms.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hbms.common.annotation.Excel;
import com.hbms.common.core.domain.BaseEntity;

/**
 * 客房状态对象 hotelbms_roomstatus
 *
 * @author zl
 * @date 2024-04-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HotelbmsRoomstatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客房状态ID */
    private Long roomStatusId;

    /** 客房ID */
    @Excel(name = "客房ID")
    private Long roomId;
    /* 房间号*/
    @Excel(name = "房间号")
    private Long roomNumber;

    /* 离店日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离店日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outDate;

    /* 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 入住日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 状态：0-空闲，1-未清洁，2-已入住 */
    @Excel(name = "状态：0-空闲，1-未清洁，2-已入住，3-已预定")
    private Long status;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createdBy;

}
